home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / graphic / pvquan16.zip / BBALL.POV < prev    next >
Text File  |  1992-10-23  |  656b  |  39 lines

  1. #include "colors.inc"
  2. #include "textures.inc"
  3. #include "shapes.inc"
  4.  
  5. object {             /* bounce surface */
  6.    plane { <0 1 0> @floor_height@ }
  7.    texture {
  8.         checker colour White colour Black
  9.         phong 0.8
  10.         phong_size 80
  11.         reflection 0.5
  12.     }
  13. }
  14.  
  15. object {         /* ball */
  16.     quadric {
  17.         <@x_size@ @y_size@ @z_size@>
  18.         <0 0 0>
  19.         <0 0 0>
  20.         -1
  21.     }
  22.     texture { colour Red }
  23.     translate <@ball_x@ @height@ @ball_z@>
  24. }
  25.  
  26. object {     /* light source */
  27.    light_source { 
  28.       <@light_x@ @light_y@ @light_z@>
  29.       colour White 
  30.    }
  31. }
  32.  
  33. camera {
  34.    location <0 0 0>
  35.    direction <0 0 1>
  36.    up <0 1 0>
  37.    right <1.3333 0 0>
  38. }
  39.